package com.zx.sys.cms.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zx.sys.cms.entity.CmsContentEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author LiYe
 * @email sunlightcs@gmail.com
 * @date 2020-03-09 16:15:28
 */
@Mapper
public interface CmsContentDao extends BaseMapper<CmsContentEntity> {
	List<CmsContentEntity> selectListPage(IPage page, @Param("params") Map<String, Object> map);
	List<CmsContentEntity> selectTopList(@Param("params") Map<String, Object> params);
}
